package com.example.algorithm.no0011;

import com.example.algorithm.no0011.solution.SolutionImpl;

import java.util.Arrays;

/**
 * @Description 解答测试-盛最多水的容器
 * @ClassName SolutionTest
 * @Author Administrator
 * @Date 2020/5/16 12:54
 * @Version 1.0.0
 */
public class SolutionTest {

    static int[] height = new int[]{1,8,6,2,5,4,8,3,7};

    public static void main(String[] args) {
        System.out.println("输入数组为: " + Arrays.toString(height));

        Solution solution = new SolutionImpl();

        System.out.println(solution.maxArea(height));

    }
}
